package com.exam.api.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.exam.api.entity. ExamDetail;
import lombok.Data;
import lombok.ToString;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
* @description: 分数详情数据传输层
* @author: wuming
* @create: 2024.05.03 13:24:03
*/
@Data
@ToString
@TableName("exam_detail")
public class ExamDetailDTO extends ExamDetail {

    /**
    * 学生姓名
    */
    @TableField(exist = false)
    private String name;
    /**
    * 考试名称
    */
    @TableField(exist = false)
    private String examName;
    /**
    * 题目名称
    */
    @TableField(exist = false)
    private String questionName;

    @TableField(exist = false)
    private Long teacherId;
    /**
    * 分数
    */
    @TableField(exist = false)
    private String questionGrade;

    @TableField(exist = false)
    private String url;

    @TableField(exist = false)
    private Integer types;
}
